package com.software.frontend.mine.entity;

import android.graphics.Bitmap;

import java.util.List;

public class Like {

    private List<Bitmap> ohtersHead;
    private String selfName;
    private int timeLate;
    private Bitmap postPicture;

    public Like(List<Bitmap> ohtersHead, String selfName, int timeLate, Bitmap postPicture) {
        this.ohtersHead = ohtersHead;
        this.selfName = selfName;
        this.timeLate = timeLate;
        this.postPicture = postPicture;
    }

    public Like() {
    }

    public List<Bitmap> getOhtersHead() {
        return ohtersHead;
    }

    public void setOhtersHead(List<Bitmap> ohtersHead) {
        this.ohtersHead = ohtersHead;
    }

    public String getSelfName() {
        return selfName;
    }

    public void setSelfName(String selfName) {
        this.selfName = selfName;
    }

    public int getTimeLate() {
        return timeLate;
    }

    public void setTimeLate(int timeLate) {
        if (timeLate < 0){
            this.timeLate = 0;
        }else {
            this.timeLate = timeLate;
        }
    }

    public Bitmap getPostPicture() {
        return postPicture;
    }

    public void setPostPicture(Bitmap postPicture) {
        this.postPicture = postPicture;
    }

}
